package testPackage.testPackage;

import org.testng.annotations.Test;

/**
 * 参数@factory
 */
public class TestClass {
    private String str;
    //构造方法
    public TestClass(String str){
        this.str = str;
    }
    @Test
    public void testMethod(){
        System.out.println(str);
    }
}

